LEADTOOLS Medical (Leadtools.Dicom.Scu assembly)

Find<TQuery,TResult>(DicomScp,TQuery,BeforeAddTagDelegate,DicomMatchDelegate<TResult>) Method

Show in webframe





The type of the query.
The type of the result.
The peer connection to send the C-FIND-REQ to.
The query information that describes the DICOM datasets to be found.
The method to call before a property defined in the class Query is added to the dataset.
The delegate to be called for each dataset that matches the query parameters.
Sends a C-FIND-REQ message to a peer member of a connection defined by Scp. The C-FIND-REQ is defined by the Query parameter.
Syntax
'Declaration
 
Public Overloads Sub Find
    (Of TQuery,TResult)( _
   ByVal Scp As DicomScp, _
   ByVal Query As TQuery, _
   ByVal OnBeforeAdd As BeforeAddTagDelegate, _
   ByVal OnMatch As DicomMatchDelegate(Of TResult) _
) 
'Usage
 
Dim instance As QueryRetrieveScu
Dim Scp As DicomScp
Dim Query As TQuery
Dim OnBeforeAdd As BeforeAddTagDelegate
Dim OnMatch As DicomMatchDelegate(Of TResult)
 
instance.Find(Of TQuery, TResult)(Scp, Query, OnBeforeAdd, OnMatch)

            

            
public:
void Findgeneric<typename TQuery>
generic<typename TResult>
( 
   DicomScp^ Scp,
   TQuery^ Query,
   BeforeAddTagDelegate^ OnBeforeAdd,
   DicomMatchDelegate<TResult^>^ OnMatch
) 

Parameters

Scp
The peer connection to send the C-FIND-REQ to.
Query
The query information that describes the DICOM datasets to be found.
OnBeforeAdd
The method to call before a property defined in the class Query is added to the dataset.
OnMatch
The delegate to be called for each dataset that matches the query parameters.

Type Parameters

TQuery
The type of the query.
TResult
The type of the result.
Remarks
A DicomDataset will be created from the Query parameter. This dataset will then be sent in the C-FIND-REQ. The Query class should be decorated with the correct attributes for creating the dataset. The OnBeforeAdd delegate will be called before tag is added to the dataset.
Requirements

Target Platforms

See Also

Reference

QueryRetrieveScu Class
QueryRetrieveScu Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Scu requires a Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features